package com.api.tournament.model;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.*;

@Table(name = "tournament_reward")
public class TournamentReward implements Serializable {
    @Id
    @Column(name = "reward_id")
    private Long rewardId;

    @Column(name = "tournament_id")
    private Long tournamentId;

    /**
     * 奖励类型 1物品 2现金
     */
    @Column(name = "reward_type")
    private String rewardType;

    /**
     * 奖励名称
     */
    @Column(name = "reward_name")
    private String rewardName;

    /**
     * 奖品图
     */
    @Column(name = "reward_picture")
    private String rewardPicture;

    /**
     * 价值
     */
    @Column(name = "reward_price")
    private BigDecimal rewardPrice;

    /**
     * 确认奖品
     */
    @Column(name = "reward_confirm")
    private Boolean rewardConfirm;

    /**
     * 排名
     */
    private Integer ranking;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 确认发放
     */
    @Column(name = "grant_confirm")
    private Boolean grantConfirm;

    private static final long serialVersionUID = 1L;

    /**
     * @return reward_id
     */
    public Long getRewardId() {
        return rewardId;
    }

    /**
     * @param rewardId
     */
    public void setRewardId(Long rewardId) {
        this.rewardId = rewardId;
    }

    /**
     * @return tournament_id
     */
    public Long getTournamentId() {
        return tournamentId;
    }

    /**
     * @param tournamentId
     */
    public void setTournamentId(Long tournamentId) {
        this.tournamentId = tournamentId;
    }

    /**
     * 获取奖励类型 1物品 2现金
     *
     * @return reward_type - 奖励类型 1物品 2现金
     */
    public String getRewardType() {
        return rewardType;
    }

    /**
     * 设置奖励类型 1物品 2现金
     *
     * @param rewardType 奖励类型 1物品 2现金
     */
    public void setRewardType(String rewardType) {
        this.rewardType = rewardType;
    }

    /**
     * 获取奖励名称
     *
     * @return reward_name - 奖励名称
     */
    public String getRewardName() {
        return rewardName;
    }

    /**
     * 设置奖励名称
     *
     * @param rewardName 奖励名称
     */
    public void setRewardName(String rewardName) {
        this.rewardName = rewardName;
    }

    /**
     * 获取奖品图
     *
     * @return reward_picture - 奖品图
     */
    public String getRewardPicture() {
        return rewardPicture;
    }

    /**
     * 设置奖品图
     *
     * @param rewardPicture 奖品图
     */
    public void setRewardPicture(String rewardPicture) {
        this.rewardPicture = rewardPicture;
    }

    /**
     * 获取价值
     *
     * @return reward_price - 价值
     */
    public BigDecimal getRewardPrice() {
        return rewardPrice;
    }

    /**
     * 设置价值
     *
     * @param rewardPrice 价值
     */
    public void setRewardPrice(BigDecimal rewardPrice) {
        this.rewardPrice = rewardPrice;
    }

    /**
     * 获取确认奖品
     *
     * @return reward_confirm - 确认奖品
     */
    public Boolean getRewardConfirm() {
        return rewardConfirm;
    }

    /**
     * 设置确认奖品
     *
     * @param rewardConfirm 确认奖品
     */
    public void setRewardConfirm(Boolean rewardConfirm) {
        this.rewardConfirm = rewardConfirm;
    }

    /**
     * 获取排名
     *
     * @return ranking - 排名
     */
    public Integer getRanking() {
        return ranking;
    }

    /**
     * 设置排名
     *
     * @param ranking 排名
     */
    public void setRanking(Integer ranking) {
        this.ranking = ranking;
    }

    /**
     * 获取数量
     *
     * @return quantity - 数量
     */
    public Integer getQuantity() {
        return quantity;
    }

    /**
     * 设置数量
     *
     * @param quantity 数量
     */
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    /**
     * 获取确认发放
     *
     * @return grant_confirm - 确认发放
     */
    public Boolean getGrantConfirm() {
        return grantConfirm;
    }

    /**
     * 设置确认发放
     *
     * @param grantConfirm 确认发放
     */
    public void setGrantConfirm(Boolean grantConfirm) {
        this.grantConfirm = grantConfirm;
    }
}